import { Directive, ElementRef, HostBinding, Input } from '@angular/core';

@Directive({
  selector: '[appDisabledstudent]'
})
export class DisabledstudentDirective {
  
  private mydisable:boolean=false;
  
  @Input('appDisabledstudent')
  set setDisalbe(value:boolean){
    this.mydisable = value
  }

  constructor(private element:ElementRef) { }

  
  @HostBinding("class.divstudentdisabled") get divstudentdisabled() {
    return this.mydisable
  }
  

}
